package Restudy;

public class overload 
{
	void ict()
	{
		System.out.println("6");
	}
	void ict(int a)
	{
		System.out.println(a);
	}
	void ict(float a)
	{
		System.out.println(a);
	}
	int ict(int a, int b)
	{
		int sum = a+b;
		return sum;
	}
	public static void main(String[] args) 
	{
		overload ol = new overload();
		
		int a=6;
		int sum=0;
		
		ol.ict();
		ol.ict(a);
		ol.ict((float)a);
		sum=ol.ict(a,3);
		System.out.println(sum);

	}

}
